package com.xiaoq.shop.entity;

import com.xiaoq.MongoEntity;
import com.xiaoq.shop.dto.UGCContentDTO;
import org.mongodb.morphia.annotations.Entity;

import java.util.List;

/**
 * @author xinpeng created on 16/9/14-上午10:03.
 *
 * 单品推荐时,生成图文详情,后续可能在PC端实现图文详情
 */
@Entity(value = "spu_imagetextdetail_collection",noClassnameStored = true)
public class SPUImageTextDetailEntity extends MongoEntity {

    private String shopId;
    private String spuCode;
    private List<UGCContentDTO> imageTextDetails; //图文详情
	public String getShopId() {
		return shopId;
	}
	public void setShopId(String shopId) {
		this.shopId = shopId;
	}
	public String getSpuCode() {
		return spuCode;
	}
	public void setSpuCode(String spuCode) {
		this.spuCode = spuCode;
	}
	public List<UGCContentDTO> getImageTextDetails() {
		return imageTextDetails;
	}
	public void setImageTextDetails(List<UGCContentDTO> imageTextDetails) {
		this.imageTextDetails = imageTextDetails;
	}

}
